package com.wang.template.json.util;

import java.lang.reflect.Method;
import java.util.LinkedList;
import java.util.List;

public class ReflectUtil {
	public static List<Method> getAllMethod(Class<?> clazz) {
		List<Method> result = new LinkedList<Method>();
		Method[] methods = clazz.getMethods();
		for (Method method : methods) {
			result.add(method);
		}
		return result;
	}
}
